a {
    color: #333333;
    text-decoration: underline;
}
a:link {
    color: #333333;
    text-decoration: underline;
}
a:active, a:visited {
    color: #666666;
    text-decoration: underline;
}
a:hover {
    color: black;
    text-decoration: underline;
}

a img {
    border-color: #333333;
}
a:link img {
    border-color: #333333;
}
a:active img, a:visited img {
    border-color: #666666;
}
a:hover img {
    border-color:black;
}

a[target=_blank]:after {
    content: url(/img/new_win.png);
}
a.img:after {
    content: "";
}

a[name] {
    text-decoration: none;
}